using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using Infragistics.Win.UltraWinExplorerBar;
using Infragistics.Win.UltraWinTree;
using Infragistics.Win.UltraWinToolbars;
namespace ELS.Configuration.UserInterface
{
	/// <summary>
	/// Summary description for MainForm.
	/// </summary>
	public class MainForm : System.Windows.Forms.Form
	{
		private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _MainForm_Toolbars_Dock_Area_Top;
		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _MainForm_Toolbars_Dock_Area_Bottom;
		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _MainForm_Toolbars_Dock_Area_Left;
		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _MainForm_Toolbars_Dock_Area_Right;
		private System.Windows.Forms.ColumnHeader columnHeader1;
		private System.Windows.Forms.ColumnHeader columnHeader2;
		private System.Windows.Forms.Splitter splitter1;
		private Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar explorerBar;
		private Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar ultraExplorerBar1;
		private System.Windows.Forms.ListView listView;
		private System.Windows.Forms.ColumnHeader columnHeader3;
		private System.ComponentModel.IContainer components;

		public MainForm()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			this.Load+=new EventHandler(MainForm_Load);
		}

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			Infragistics.Win.UltraWinToolbars.OptionSet optionSet1 = new Infragistics.Win.UltraWinToolbars.OptionSet("Folders");
			Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("UltraToolbar1");
			Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool1 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("File");
			Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool2 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("Edit");
			Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool3 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("View");
			Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool4 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("Favorites");
			Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool5 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("Tools");
			Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool6 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("Help");
			Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar2 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("AddressBar");
			Infragistics.Win.UltraWinToolbars.LabelTool labelTool1 = new Infragistics.Win.UltraWinToolbars.LabelTool("Address");
			Infragistics.Win.UltraWinToolbars.ComboBoxTool comboBoxTool1 = new Infragistics.Win.UltraWinToolbars.ComboBoxTool("AddressCombo");
			Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Go");
			Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar3 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("UltraToolbar2");
			Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool7 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("Back");
			Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool8 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("Forward");
			Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Up");
			Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Search");
			Infragistics.Win.UltraWinToolbars.StateButtonTool stateButtonTool1 = new Infragistics.Win.UltraWinToolbars.StateButtonTool("Folders", "Folders");
			Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool9 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("ViewStyle");
			Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool10 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("File");
			Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
			Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool11 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("Edit");
			Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool12 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("View");
			Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool13 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("Favorites");
			Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool14 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("Tools");
			Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool15 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("Help");
			Infragistics.Win.UltraWinToolbars.LabelTool labelTool2 = new Infragistics.Win.UltraWinToolbars.LabelTool("Address");
			Infragistics.Win.UltraWinToolbars.ComboBoxTool comboBoxTool2 = new Infragistics.Win.UltraWinToolbars.ComboBoxTool("AddressCombo");
			Infragistics.Win.ValueList valueList1 = new Infragistics.Win.ValueList(0);
			Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool16 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("Back");
			Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(MainForm));
			Infragistics.Win.UltraWinToolbars.ListTool listTool1 = new Infragistics.Win.UltraWinToolbars.ListTool("BackList");
			Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool17 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("Forward");
			Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
			Infragistics.Win.UltraWinToolbars.ListTool listTool2 = new Infragistics.Win.UltraWinToolbars.ListTool("ForwardList");
			Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Up");
			Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
			Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Search");
			Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
			Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool18 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("ViewStyle");
			Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
			Infragistics.Win.UltraWinToolbars.ListTool listTool3 = new Infragistics.Win.UltraWinToolbars.ListTool("Views");
			Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Go");
			Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
			Infragistics.Win.UltraWinToolbars.ListTool listTool4 = new Infragistics.Win.UltraWinToolbars.ListTool("BackList");
			Infragistics.Win.UltraWinToolbars.ListTool listTool5 = new Infragistics.Win.UltraWinToolbars.ListTool("ForwardList");
			Infragistics.Win.UltraWinToolbars.ListTool listTool6 = new Infragistics.Win.UltraWinToolbars.ListTool("Views");
			Infragistics.Win.UltraWinToolbars.ListToolItem listToolItem1 = new Infragistics.Win.UltraWinToolbars.ListToolItem("Icons");
			Infragistics.Win.UltraWinToolbars.ListToolItem listToolItem2 = new Infragistics.Win.UltraWinToolbars.ListToolItem("List");
			Infragistics.Win.UltraWinToolbars.ListToolItem listToolItem3 = new Infragistics.Win.UltraWinToolbars.ListToolItem("Details");
			Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
			Infragistics.Win.UltraWinToolbars.StateButtonTool stateButtonTool2 = new Infragistics.Win.UltraWinToolbars.StateButtonTool("Folders", "Folders");
			Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
			Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
			Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
			Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem ultraExplorerBarItem1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem();
			Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
			Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem ultraExplorerBarItem2 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem();
			Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
			Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem ultraExplorerBarItem3 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem();
			Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
			Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem ultraExplorerBarItem4 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem();
			Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
			Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem ultraExplorerBarItem5 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem();
			Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
			Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem ultraExplorerBarItem6 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem();
			Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
			Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem ultraExplorerBarItem7 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem();
			Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
			Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup2 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
			Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem ultraExplorerBarItem8 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem();
			Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
			Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem ultraExplorerBarItem9 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem();
			Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
			Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem ultraExplorerBarItem10 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem();
			Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
			Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem ultraExplorerBarItem11 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem();
			Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
			Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem ultraExplorerBarItem12 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem();
			Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
			Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem ultraExplorerBarItem13 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem();
			Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
			Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem ultraExplorerBarItem14 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem();
			Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
			Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup3 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
			Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup4 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
			Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem ultraExplorerBarItem15 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem();
			Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
			Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem ultraExplorerBarItem16 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem();
			Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
			Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem ultraExplorerBarItem17 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem();
			Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
			Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup5 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
			this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
			this._MainForm_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
			this._MainForm_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
			this._MainForm_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
			this._MainForm_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
			this.listView = new System.Windows.Forms.ListView();
			this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
			this.columnHeader2 = new System.Windows.Forms.ColumnHeader();
			this.splitter1 = new System.Windows.Forms.Splitter();
			this.explorerBar = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar();
			this.ultraExplorerBar1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar();
			this.columnHeader3 = new System.Windows.Forms.ColumnHeader();
			((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.explorerBar)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.ultraExplorerBar1)).BeginInit();
			this.SuspendLayout();
			// 
			// ultraToolbarsManager1
			// 
			this.ultraToolbarsManager1.DesignerFlags = 1;
			this.ultraToolbarsManager1.DockWithinContainer = this;
			this.ultraToolbarsManager1.ImageSizeSmall = new System.Drawing.Size(20, 20);
			this.ultraToolbarsManager1.OptionSets.Add(optionSet1);
			this.ultraToolbarsManager1.ShowFullMenusDelay = 500;
			this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.Office2003;
			ultraToolbar1.DockedColumn = 0;
			ultraToolbar1.DockedRow = 0;
			ultraToolbar1.IsMainMenuBar = true;
			ultraToolbar1.Text = "UltraToolbar1";
			ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
																							  popupMenuTool1,
																							  popupMenuTool2,
																							  popupMenuTool3,
																							  popupMenuTool4,
																							  popupMenuTool5,
																							  popupMenuTool6});
			ultraToolbar2.DockedColumn = 1;
			ultraToolbar2.DockedRow = 1;
			ultraToolbar2.FloatingSize = new System.Drawing.Size(516, 28);
			ultraToolbar2.Text = "UltraToolbar2";
			labelTool1.InstanceProps.Width = 73;
			comboBoxTool1.InstanceProps.Width = 295;
			ultraToolbar2.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
																							  labelTool1,
																							  comboBoxTool1,
																							  buttonTool1});
			ultraToolbar3.DockedColumn = 0;
			ultraToolbar3.DockedRow = 1;
			ultraToolbar3.Text = "UltraToolbar2";
			popupMenuTool7.InstanceProps.Caption = "Back";
			popupMenuTool7.InstanceProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
			popupMenuTool8.InstanceProps.Caption = "Forward";
			popupMenuTool8.InstanceProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
			buttonTool3.InstanceProps.IsFirstInGroup = true;
			popupMenuTool9.InstanceProps.IsFirstInGroup = true;
			ultraToolbar3.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
																							  popupMenuTool7,
																							  popupMenuTool8,
																							  buttonTool2,
																							  buttonTool3,
																							  stateButtonTool1,
																							  popupMenuTool9});
			this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
																												  ultraToolbar1,
																												  ultraToolbar2,
																												  ultraToolbar3});
			popupMenuTool10.SharedProps.Caption = "&File";
			popupMenuTool10.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
																								buttonTool4});
			popupMenuTool11.SharedProps.Caption = "&Edit";
			popupMenuTool12.SharedProps.Caption = "&View";
			popupMenuTool13.SharedProps.Caption = "F&avorites";
			popupMenuTool14.SharedProps.Caption = "&Tools";
			popupMenuTool15.SharedProps.Caption = "&Help";
			labelTool2.SharedProps.Caption = "A&ddress";
			comboBoxTool2.DropDownStyle = Infragistics.Win.DropDownStyle.DropDown;
			comboBoxTool2.SharedProps.Caption = "AddressCombo";
			valueList1.DropDownListMinWidth = 0;
			comboBoxTool2.ValueList = valueList1;
			popupMenuTool16.DropDownArrowStyle = Infragistics.Win.UltraWinToolbars.DropDownArrowStyle.Segmented;
			popupMenuTool16.InstanceProps.Caption = "Back";
			popupMenuTool16.InstanceProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
			appearance1.Image = ((object)(resources.GetObject("appearance1.Image")));
			popupMenuTool16.SharedProps.AppearancesSmall.Appearance = appearance1;
			popupMenuTool16.SharedProps.Caption = "Back";
			popupMenuTool16.SharedProps.Enabled = false;
			popupMenuTool16.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
																								listTool1});
			popupMenuTool17.DropDownArrowStyle = Infragistics.Win.UltraWinToolbars.DropDownArrowStyle.Segmented;
			popupMenuTool17.InstanceProps.Caption = "Forward";
			popupMenuTool17.InstanceProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
			appearance2.Image = ((object)(resources.GetObject("appearance2.Image")));
			popupMenuTool17.SharedProps.AppearancesSmall.Appearance = appearance2;
			popupMenuTool17.SharedProps.CustomizerCaption = "Forward";
			popupMenuTool17.SharedProps.Enabled = false;
			popupMenuTool17.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
																								listTool2});
			appearance3.Image = ((object)(resources.GetObject("appearance3.Image")));
			buttonTool5.SharedProps.AppearancesSmall.Appearance = appearance3;
			buttonTool5.SharedProps.Caption = "Up";
			appearance4.Image = ((object)(resources.GetObject("appearance4.Image")));
			buttonTool6.SharedProps.AppearancesSmall.Appearance = appearance4;
			buttonTool6.SharedProps.Caption = "Search";
			buttonTool6.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
			appearance5.Image = ((object)(resources.GetObject("appearance5.Image")));
			popupMenuTool18.SharedProps.AppearancesSmall.Appearance = appearance5;
			popupMenuTool18.SharedProps.Caption = "ViewStyle";
			popupMenuTool18.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageOnlyOnToolbars;
			popupMenuTool18.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
																								listTool3});
			appearance6.Image = ((object)(resources.GetObject("appearance6.Image")));
			buttonTool7.SharedProps.AppearancesSmall.Appearance = appearance6;
			buttonTool7.SharedProps.Caption = "Go";
			buttonTool7.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
			listTool4.DisplayCheckmark = false;
			listTool4.SharedProps.Caption = "BackList";
			listTool5.DisplayCheckmark = false;
			listTool5.SharedProps.Caption = "ForwardList";
			listToolItem1.Key = "Icons";
			listToolItem1.Text = "Icons";
			listToolItem2.Key = "List";
			listToolItem2.Text = "List";
			listToolItem3.Key = "Details";
			listToolItem3.Text = "Details";
			listTool6.ListToolItems.Add(listToolItem1);
			listTool6.ListToolItems.Add(listToolItem2);
			listTool6.ListToolItems.Add(listToolItem3);
			listTool6.SharedProps.Caption = "Views";
			buttonTool8.SharedProps.Caption = "Close";
			stateButtonTool2.OptionSetKey = "Folders";
			appearance7.Image = ((object)(resources.GetObject("appearance7.Image")));
			stateButtonTool2.SharedProps.AppearancesSmall.Appearance = appearance7;
			stateButtonTool2.SharedProps.Caption = "Folders";
			stateButtonTool2.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
			this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
																										   popupMenuTool10,
																										   popupMenuTool11,
																										   popupMenuTool12,
																										   popupMenuTool13,
																										   popupMenuTool14,
																										   popupMenuTool15,
																										   labelTool2,
																										   comboBoxTool2,
																										   popupMenuTool16,
																										   popupMenuTool17,
																										   buttonTool5,
																										   buttonTool6,
																										   popupMenuTool18,
																										   buttonTool7,
																										   listTool4,
																										   listTool5,
																										   listTool6,
																										   buttonTool8,
																										   stateButtonTool2});
			// 
			// _MainForm_Toolbars_Dock_Area_Top
			// 
			this._MainForm_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
			this._MainForm_Toolbars_Dock_Area_Top.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(158)), ((System.Byte)(190)), ((System.Byte)(245)));
			this._MainForm_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
			this._MainForm_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
			this._MainForm_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
			this._MainForm_Toolbars_Dock_Area_Top.Name = "_MainForm_Toolbars_Dock_Area_Top";
			this._MainForm_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(1104, 54);
			this._MainForm_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
			// 
			// _MainForm_Toolbars_Dock_Area_Bottom
			// 
			this._MainForm_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
			this._MainForm_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(158)), ((System.Byte)(190)), ((System.Byte)(245)));
			this._MainForm_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
			this._MainForm_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
			this._MainForm_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 670);
			this._MainForm_Toolbars_Dock_Area_Bottom.Name = "_MainForm_Toolbars_Dock_Area_Bottom";
			this._MainForm_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(1104, 0);
			this._MainForm_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
			// 
			// _MainForm_Toolbars_Dock_Area_Left
			// 
			this._MainForm_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
			this._MainForm_Toolbars_Dock_Area_Left.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(158)), ((System.Byte)(190)), ((System.Byte)(245)));
			this._MainForm_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
			this._MainForm_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
			this._MainForm_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 54);
			this._MainForm_Toolbars_Dock_Area_Left.Name = "_MainForm_Toolbars_Dock_Area_Left";
			this._MainForm_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 616);
			this._MainForm_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
			// 
			// _MainForm_Toolbars_Dock_Area_Right
			// 
			this._MainForm_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
			this._MainForm_Toolbars_Dock_Area_Right.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(158)), ((System.Byte)(190)), ((System.Byte)(245)));
			this._MainForm_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
			this._MainForm_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
			this._MainForm_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(1104, 54);
			this._MainForm_Toolbars_Dock_Area_Right.Name = "_MainForm_Toolbars_Dock_Area_Right";
			this._MainForm_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 616);
			this._MainForm_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
			// 
			// listView
			// 
			this.listView.BorderStyle = System.Windows.Forms.BorderStyle.None;
			this.listView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
																					   this.columnHeader1,
																					   this.columnHeader2,
																					   this.columnHeader3});
			this.listView.Dock = System.Windows.Forms.DockStyle.Fill;
			this.listView.FullRowSelect = true;
			this.listView.Location = new System.Drawing.Point(219, 54);
			this.listView.Name = "listView";
			this.listView.Size = new System.Drawing.Size(885, 616);
			this.listView.TabIndex = 13;
			this.listView.View = System.Windows.Forms.View.Details;
			// 
			// columnHeader1
			// 
			this.columnHeader1.Text = "Name";
			this.columnHeader1.Width = 200;
			// 
			// columnHeader2
			// 
			this.columnHeader2.Text = "Type";
			this.columnHeader2.Width = 150;
			// 
			// splitter1
			// 
			this.splitter1.BackColor = System.Drawing.SystemColors.InactiveCaptionText;
			this.splitter1.Location = new System.Drawing.Point(216, 54);
			this.splitter1.Name = "splitter1";
			this.splitter1.Size = new System.Drawing.Size(3, 616);
			this.splitter1.TabIndex = 12;
			this.splitter1.TabStop = false;
			// 
			// explorerBar
			// 
			this.explorerBar.BorderStyle = Infragistics.Win.UIElementBorderStyle.RaisedSoft;
			this.explorerBar.ColumnCount = 2;
			this.explorerBar.Dock = System.Windows.Forms.DockStyle.Left;
			this.explorerBar.GroupSettings.Style = Infragistics.Win.UltraWinExplorerBar.GroupStyle.SmallImagesWithText;
			appearance8.Image = ((object)(resources.GetObject("appearance8.Image")));
			this.explorerBar.ItemSettings.AppearancesLarge.Appearance = appearance8;
			this.explorerBar.Location = new System.Drawing.Point(0, 54);
			this.explorerBar.Name = "explorerBar";
			this.explorerBar.Size = new System.Drawing.Size(216, 616);
			this.explorerBar.Style = Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarStyle.Listbar;
			this.explorerBar.TabIndex = 11;
			this.explorerBar.ViewStyle = Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarViewStyle.Office2003;
			// 
			// ultraExplorerBar1
			// 
			this.ultraExplorerBar1.Dock = System.Windows.Forms.DockStyle.Fill;
			appearance9.Image = ((object)(resources.GetObject("appearance9.Image")));
			ultraExplorerBarItem1.Settings.AppearancesSmall.Appearance = appearance9;
			ultraExplorerBarItem1.Text = "Rename this folder";
			appearance10.Image = ((object)(resources.GetObject("appearance10.Image")));
			ultraExplorerBarItem2.Settings.AppearancesSmall.Appearance = appearance10;
			ultraExplorerBarItem2.Text = "Move this folder";
			appearance11.Image = ((object)(resources.GetObject("appearance11.Image")));
			ultraExplorerBarItem3.Settings.AppearancesSmall.Appearance = appearance11;
			ultraExplorerBarItem3.Text = "Copy this folder";
			appearance12.Image = ((object)(resources.GetObject("appearance12.Image")));
			ultraExplorerBarItem4.Settings.AppearancesSmall.Appearance = appearance12;
			ultraExplorerBarItem4.Text = "Publish this folder to the Web";
			appearance13.Image = ((object)(resources.GetObject("appearance13.Image")));
			ultraExplorerBarItem5.Settings.AppearancesSmall.Appearance = appearance13;
			ultraExplorerBarItem5.Text = "Share this folder";
			appearance14.Image = ((object)(resources.GetObject("appearance14.Image")));
			ultraExplorerBarItem6.Settings.AppearancesSmall.Appearance = appearance14;
			ultraExplorerBarItem6.Text = "E-Mail this folder\'s files";
			appearance15.Image = ((object)(resources.GetObject("appearance15.Image")));
			ultraExplorerBarItem7.Settings.AppearancesSmall.Appearance = appearance15;
			ultraExplorerBarItem7.Text = "Delete this folder";
			ultraExplorerBarGroup1.Items.AddRange(new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem[] {
																													  ultraExplorerBarItem1,
																													  ultraExplorerBarItem2,
																													  ultraExplorerBarItem3,
																													  ultraExplorerBarItem4,
																													  ultraExplorerBarItem5,
																													  ultraExplorerBarItem6,
																													  ultraExplorerBarItem7});
			ultraExplorerBarGroup1.Key = "Folder";
			ultraExplorerBarGroup1.Text = "File and Folder Tasks";
			appearance16.Image = ((object)(resources.GetObject("appearance16.Image")));
			ultraExplorerBarItem8.Settings.AppearancesSmall.Appearance = appearance16;
			ultraExplorerBarItem8.Text = "Rename this file";
			appearance17.Image = ((object)(resources.GetObject("appearance17.Image")));
			ultraExplorerBarItem9.Settings.AppearancesSmall.Appearance = appearance17;
			ultraExplorerBarItem9.Text = "Move this file";
			appearance18.Image = ((object)(resources.GetObject("appearance18.Image")));
			ultraExplorerBarItem10.Settings.AppearancesSmall.Appearance = appearance18;
			ultraExplorerBarItem10.Text = "Copy this file";
			appearance19.Image = ((object)(resources.GetObject("appearance19.Image")));
			ultraExplorerBarItem11.Settings.AppearancesSmall.Appearance = appearance19;
			ultraExplorerBarItem11.Text = "Publish this file to the Web";
			appearance20.Image = ((object)(resources.GetObject("appearance20.Image")));
			ultraExplorerBarItem12.Settings.AppearancesSmall.Appearance = appearance20;
			ultraExplorerBarItem12.Text = "E-mail this file";
			appearance21.Image = ((object)(resources.GetObject("appearance21.Image")));
			ultraExplorerBarItem13.Settings.AppearancesSmall.Appearance = appearance21;
			ultraExplorerBarItem13.Text = "Print this file";
			appearance22.Image = ((object)(resources.GetObject("appearance22.Image")));
			ultraExplorerBarItem14.Settings.AppearancesSmall.Appearance = appearance22;
			ultraExplorerBarItem14.Text = "Delete this file";
			ultraExplorerBarGroup2.Items.AddRange(new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem[] {
																													  ultraExplorerBarItem8,
																													  ultraExplorerBarItem9,
																													  ultraExplorerBarItem10,
																													  ultraExplorerBarItem11,
																													  ultraExplorerBarItem12,
																													  ultraExplorerBarItem13,
																													  ultraExplorerBarItem14});
			ultraExplorerBarGroup2.Key = "File";
			ultraExplorerBarGroup2.Text = "File and Folder Tasks";
			ultraExplorerBarGroup2.Visible = false;
			ultraExplorerBarGroup3.Expanded = false;
			ultraExplorerBarGroup3.Key = "Folders";
			ultraExplorerBarGroup3.Settings.ContainerHeight = 150;
			ultraExplorerBarGroup3.Settings.ItemAreaInnerMargins.Bottom = 0;
			ultraExplorerBarGroup3.Settings.ItemAreaInnerMargins.Left = 0;
			ultraExplorerBarGroup3.Settings.ItemAreaInnerMargins.Right = 0;
			ultraExplorerBarGroup3.Settings.ItemAreaInnerMargins.Top = 0;
			ultraExplorerBarGroup3.Settings.ItemAreaOuterMargins.Bottom = 0;
			ultraExplorerBarGroup3.Settings.ItemAreaOuterMargins.Left = 0;
			ultraExplorerBarGroup3.Settings.ItemAreaOuterMargins.Right = 0;
			ultraExplorerBarGroup3.Settings.ItemAreaOuterMargins.Top = 0;
			ultraExplorerBarGroup3.Settings.Style = Infragistics.Win.UltraWinExplorerBar.GroupStyle.ControlContainer;
			ultraExplorerBarGroup3.Text = "Folders";
			appearance23.Image = ((object)(resources.GetObject("appearance23.Image")));
			ultraExplorerBarItem15.Settings.AppearancesSmall.Appearance = appearance23;
			ultraExplorerBarItem15.Text = "My Documents";
			appearance24.Image = ((object)(resources.GetObject("appearance24.Image")));
			ultraExplorerBarItem16.Settings.AppearancesSmall.Appearance = appearance24;
			ultraExplorerBarItem16.Text = "My Computer";
			appearance25.Image = ((object)(resources.GetObject("appearance25.Image")));
			ultraExplorerBarItem17.Settings.AppearancesSmall.Appearance = appearance25;
			ultraExplorerBarItem17.Text = "My Network Places";
			ultraExplorerBarGroup4.Items.AddRange(new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarItem[] {
																													  ultraExplorerBarItem15,
																													  ultraExplorerBarItem16,
																													  ultraExplorerBarItem17});
			ultraExplorerBarGroup4.Text = "Other Places";
			ultraExplorerBarGroup4.Visible = false;
			ultraExplorerBarGroup5.Settings.ContainerHeight = 104;
			ultraExplorerBarGroup5.Settings.ItemAreaInnerMargins.Bottom = 0;
			ultraExplorerBarGroup5.Settings.ItemAreaInnerMargins.Left = 0;
			ultraExplorerBarGroup5.Settings.ItemAreaInnerMargins.Right = 0;
			ultraExplorerBarGroup5.Settings.ItemAreaInnerMargins.Top = 0;
			ultraExplorerBarGroup5.Settings.ItemAreaOuterMargins.Bottom = 0;
			ultraExplorerBarGroup5.Settings.ItemAreaOuterMargins.Left = 0;
			ultraExplorerBarGroup5.Settings.ItemAreaOuterMargins.Right = 0;
			ultraExplorerBarGroup5.Settings.ItemAreaOuterMargins.Top = 0;
			ultraExplorerBarGroup5.Settings.Style = Infragistics.Win.UltraWinExplorerBar.GroupStyle.ControlContainer;
			ultraExplorerBarGroup5.Text = "Details";
			this.ultraExplorerBar1.Groups.AddRange(new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup[] {
																														ultraExplorerBarGroup1,
																														ultraExplorerBarGroup2,
																														ultraExplorerBarGroup3,
																														ultraExplorerBarGroup4,
																														ultraExplorerBarGroup5});
			this.ultraExplorerBar1.GroupSettings.ShowToolTips = Infragistics.Win.DefaultableBoolean.True;
			this.ultraExplorerBar1.ItemSettings.Height = 18;
			this.ultraExplorerBar1.ItemSettings.Indent = 0;
			this.ultraExplorerBar1.ItemSettings.MaxLines = 2;
			this.ultraExplorerBar1.Location = new System.Drawing.Point(0, 23);
			this.ultraExplorerBar1.Margins.Bottom = 12;
			this.ultraExplorerBar1.Margins.Left = 12;
			this.ultraExplorerBar1.Margins.Right = 12;
			this.ultraExplorerBar1.Margins.Top = 12;
			this.ultraExplorerBar1.Name = "ultraExplorerBar1";
			this.ultraExplorerBar1.Size = new System.Drawing.Size(208, 474);
			this.ultraExplorerBar1.TabIndex = 0;
			// 
			// columnHeader3
			// 
			this.columnHeader3.Text = "Full Name";
			this.columnHeader3.Width = 500;
			// 
			// MainForm
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(1104, 670);
			this.Controls.Add(this.listView);
			this.Controls.Add(this.splitter1);
			this.Controls.Add(this.explorerBar);
			this.Controls.Add(this._MainForm_Toolbars_Dock_Area_Right);
			this.Controls.Add(this._MainForm_Toolbars_Dock_Area_Left);
			this.Controls.Add(this._MainForm_Toolbars_Dock_Area_Top);
			this.Controls.Add(this._MainForm_Toolbars_Dock_Area_Bottom);
			this.Name = "MainForm";
			this.Text = "Configuration";
			((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.explorerBar)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.ultraExplorerBar1)).EndInit();
			this.ResumeLayout(false);

		}
		#endregion

		public static void Main()
		{
			Application.Run(new MainForm());
		}

		private void MainForm_Load(object sender, EventArgs e)
		{
			explorerBar.ItemClick+=new ItemClickEventHandler(explorerBar_ItemClick);
			listView.DoubleClick+=new EventHandler(listView_DoubleClick);
			this.ultraToolbarsManager1.Tools["Up"].ToolClick+=new ToolClickEventHandler(Up_ToolClick);

			ConfigurationManager.Instance.Initialize();
			UltraExplorerBarGroup group = null;
			foreach( Configuration configuration in ConfigurationManager.Instance.Configurations )
			{
				group = explorerBar.Groups.Add( configuration.Name, configuration.Name );
				foreach( ConfigurationSection section in configuration.Sections )
					group.Items.Add( section.Name, section.Name );
			}
		}

		private void AddSectionsToNode(UltraTreeNode node , ConfigurationSectionCollection sectionCollection)
		{
			foreach( ConfigurationSection section in sectionCollection )
			{
				UltraTreeNode subNode = node.Nodes.Add( section.Name, section.Name);
				AddSectionsToNode( subNode , section.Sections );
			}
		}

		private void explorerBar_ItemClick(object sender, ItemEventArgs e)
		{
			LoadListViewWithDetails ( ConfigurationManager.Instance.Configurations [ e.Item.Group.Key ].Sections[ e.Item.Key ] );
		}

		private void LoadListViewWithDetails( object dataItem )
		{
			if ( dataItem is ConfigurationSection )
			{
				ConfigurationSection cs = dataItem as ConfigurationSection;
				
				try
				{
					// Clear the current list.
					this.listView.Items.Clear();

					// Stop the listview from updating until we're done adding items.
					this.listView.BeginUpdate();
					ListViewItem	item;

					foreach( ConfigurationSection section in cs.Sections )
					{
						item = listView.Items.Add( section.Name );		
						item.Tag = section;
						item.SubItems.Add( section.GetType().Name );
						item.SubItems.Add( section.FullName );
					}
				}
				finally
				{
					// We're finished adding entries to the listview so tell the listview to update its UI.
					this.listView.EndUpdate();
				}
			}

		}

		private void listView_DoubleClick(object sender, EventArgs e)
		{
			if ( listView.SelectedItems.Count > 0 )
				LoadListViewWithDetails ( listView.SelectedItems [ 0 ].Tag );
		}

		private void Up_ToolClick(object sender, ToolClickEventArgs e)
		{
			if ( listView.Items.Count > 0 )
			{
				ConfigurationObjectBase configObject = listView.Items [ 0 ].Tag as ConfigurationObjectBase;
				if ( configObject !=  null && configObject.Parent != null && configObject.Parent.Parent != null )
					LoadListViewWithDetails ( configObject.Parent.Parent );
			}
		}
	}
}
